//package com.sky.module.support.log.config;
//
//import com.sky.module.support.log.listener.SysLogListener;
//import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
///*
//*日志配置类
//*/
//
//@Configuration
//public class LogAutoConfiguration {
//    //自动配置日志监听器组件
//    @Bean
//    @ConditionalOnMissingBean
//    public SysLogListener sysLogListener(LogService logService){
//        return new SysLogListener(optLogDTO -> logService.saveLog(optLogDTO));
//    }
//}
